package com.esteel.settlement.pa.packet;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 *应答包：交易网－>监管系统
 * 查交易网端会员管理账户余额
 * zhouwentong
 */
@XmlRootElement(name="Result")
@XmlAccessorType(XmlAccessType.FIELD)
public class RspPB1019 extends Answer{

	private static final long serialVersionUID = 4596559753398550506L;
	//子账户
	@XmlElement(name="CustAcctId")
	@Length(max=32)
	@NotEmpty
	private String custAcctId;
	//交易网会员代码
	@XmlElement(name="ThirdCustId")
	@Length(max=32)
	@NotEmpty
	private String thirdCustId;
	//会员名称
	@XmlElement(name="CustName")
	@Length(max=120)
	@NotEmpty
	private String custName;
	//账户总余额
	//以分为单位，例如100.01元，则填：10001（此处特殊，其它接口的金额都以元为单位）
	@XmlElement(name="TotalAmount")
	@Length(max=15)
	@NotEmpty
	private String totalAmount;
	//账户可用余额
	//以分为单位，例如100.01元，则填：10001（此处特殊，其它接口的金额都以元为单位）
	@XmlElement(name="TotalBalance")
	@Length(max=15)
	@NotEmpty
	private String totalBalance;
	//账户总冻结金额
	//以分为单位，例如100.01元，则填：10001（此处特殊，其它接口的金额都以元为单位）
	@XmlElement(name="TotalFreezeAmount")
	@Length(max=15)
	@NotEmpty
	private String totalFreezeAmount;
	//维护日期  开户日期或修改日期
	@XmlElement(name="TranDate")
	@Length(max=8)
	@NotEmpty
	private String tranDate;
	
	
	public String getCustAcctId() {
		return custAcctId;
	}


	public void setCustAcctId(String custAcctId) {
		this.custAcctId = custAcctId;
	}


	public String getThirdCustId() {
		return thirdCustId;
	}


	public void setThirdCustId(String thirdCustId) {
		this.thirdCustId = thirdCustId;
	}


	public String getCustName() {
		return custName;
	}


	public void setCustName(String custName) {
		this.custName = custName;
	}


	public String getTotalAmount() {
		return totalAmount;
	}


	public void setTotalAmount(String totalAmount) {
		this.totalAmount = totalAmount;
	}


	public String getTotalBalance() {
		return totalBalance;
	}


	public void setTotalBalance(String totalBalance) {
		this.totalBalance = totalBalance;
	}


	public String getTotalFreezeAmount() {
		return totalFreezeAmount;
	}


	public void setTotalFreezeAmount(String totalFreezeAmount) {
		this.totalFreezeAmount = totalFreezeAmount;
	}




	@Override
	protected String[] order() {
		 String[] objs = {"custAcctId","thirdCustId","custName","totalAmount","totalBalance","totalFreezeAmount","tranDate"};
		 return objs;
	}

}
